package Dao;

import pojo.Songs;

import java.util.List;

/**
 * 作者：杨晋
 */
public interface SongsDao {
     boolean insert(Songs songs);
     boolean update(Songs songs);
     List<Songs> getSongsByUploaderId(int uploaderId);
     boolean deleteById(int songId);

    List<Songs> selectSongList(Integer startIndex, Integer targetTotal);
    List<Songs> selectSongList();

    String getSongPathById(int songId);

    Songs selectSongById(Integer songId);
}
